/**
 * Created with IntelliJ IDEA.
 * Description: 计算1949.10.1 - 2022.1.1的天数
 */
public class Test1 {
    public static void main(String[] args) {
        int[] days = {365,366};
        int day = 92;
        for (int year = 1950; year < 2022; year++) {
            if(year % 400 == 0 || (year % 100 != 0 && year % 4 == 0)) {
                day += days[1];
            }else {
                day += days[0];
            }
        }
        System.out.println(day);
    }
}
